::-webkit-scrollbar {
    height: 10px;
    width: 7px;
    background: rgba(0, 0, 0, .1);
}

.q-type-title {
    font-size: 14px;
}

.qtype-btn,
.qtype-child-btn {
    display: inline-block;
    width: 96px;
    height: 30px;
    line-height: 30px;
    color: #707070;
    font-size: 12px;
    padding: 1px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
    border-radius: 2px;
    cursor: pointer;
    vertical-align: middle;
    margin-bottom: 6px;
    margin-right: 6px;
    float: left;
}

.qtype-btn:hover,
.qtype-child-btn:hover,
.qtype-child-btn.cur {
    padding: 0;
    border: 2px solid #2672ff;
    color: #2672ff;
}

.qtype-btn span,
.qtype-child-btn span {
    float: left;
    margin-top: -3px;
}

.qtype-btn i,
.qtype-child-btn i {
    font-size: 18px !important;
    margin-left: 6px;
    margin-right: 8px;
}

.question,
.question-child {
    overflow: visible;
    color: #484848;
    text-align: left;
    margin: 12px 20px;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
    position: relative;
    padding: 20px;
    line-height: 30px;
}

.question-child {
    margin: 0 0 12px 0;
}

.question.cur {
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .1);
    border: 2px solid #2672ff;
    border-radius: 4px;
    outline: none;
}

.q-content-seq {
    display: inline-block;
    width: 30px;
    float: left;
}

.q-content-cnt {
    float: left;
    width: calc(100% - 50px);
    padding: 0 10px;
}

.q-content-options {
    margin-left: 40px;
}

.q-content-option i {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 30px;
    font-size: 16px !important;
    float: left;
}

.q-editable {
    cursor: pointer;
    border: 1px solid transparent;
    margin-bottom: 10px;
    outline: none;
    min-height: 30px;
}

.q-editable:hover {
    border: 1px dashed #aaa;
}

.q-content-option-edit {
    float: left;
    width: calc(100% - 160px);
    padding: 0 10px;
    margin: 0 10px 0 0;
}

.q-content-cnt-tigan {
    float: left;
    width: calc(100% - 86px);
    padding: 0 10px;
    margin: 0 10px 0 0;
}

.q-content-option-set,
.q-content-cnt-set {
    display: inline-block;
    width: 70px;
    float: left;
}

.edit-by-editor,
.set-mulu,
.set-knowledge,
.create_tiankong_input {
    float: left;
}

.q-content-option-set a,
.edit-by-editor,
.set-mulu,
.set-knowledge,
.create_tiankong_input {
    display: inline-block;
    color: #484848;
    display: inline-block;
}

.q-content-option-set a:hover,
.edit-by-editor:hover,
.set-mulu:hover,
.set-knowledge:hover,
.create_tiankong_input:hover {
    color: #2672ff;
}

.q-content-option-set a:hover .layui-icon-delete {
    color: red;
}

.q-content-option-set a i,
.edit-by-editor i,
.set-mulu i,
.set-knowledge i,
.create_tiankong_input i {
    font-size: 24px !important;
    width: 30px;
    height: 30px;
}

.editable_focus {
    background-color: #f4f4f4;
    border: 1px solid #f4f4f4;
    /* user-modify: read-write-plaintext-only; */
    outline: none;
}

.fr {
    float: right;
}

.layui-btn:focus {
    color: #fff;
}

.layui-btn-primary:focus {
    color: #333;
}

.u-editor {
    /* width: 700px; */
    height: 540px;
    padding: 15px 15px 0 15px;
    position: fixed;
    z-index: 10;
    top: 50%;
    left: 50%;
    margin-left: -365px;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    background-color: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    max-height: 90%;
}

.u-editor h1 {
    font-size: 16px;
    line-height: 40px;
    margin-bottom: 10px;
    border-bottom: 1px solid #999;
}

.u-editor-btn {
    line-height: 60px;
    text-align: right;
}

.q-content-option-action {
    display: none;
}

.question.cur .q-content-option-action {
    display: block;
}

.q-content-option-action a {
    display: inline-block;
    padding: 3px 8px 3px 6px;
    margin-right: 18px;
    vertical-align: middle;
    color: #2672ff;
}

.q-content-option-action a:hover {
    background: #f4f4f4
}

.q-content-options .icon-danxuan,
.q-content-options .icon-duoxuan {
    display: none;
}

.q-option-radio .icon-danxuan {
    display: block;
}

.q-option-checkbox .icon-duoxuan {
    display: block;
}

.q-content-options,
.q-content-option-action {
    display: none;
}

.q-type-panduan .q-content-options,
.q-type-danxuan .q-content-options,
.q-type-duoxuan .q-content-options {
    display: block;
}

.q-type-danxuan .q-content-option-action,
.q-type-duoxua .q-content-option-action {
    display: block;
}

.q-content-option-action a {
    display: none;
}

.q-type-danxuan .q-content-option-action-radio {
    display: inline-block;
}

.q-type-duoxua .q-content-option-action-checkbox {
    display: inline-block;
}

.q-type-duoxuan .q-content-option-action,
.q-type-danxuan .q-content-option-action {
    display: inline-block;
}

.q-type-duoxuan .q-content-option-action a,
.q-type-danxuan .q-content-option-action a {
    display: inline-block;
}

.q-ana,
.q-answer,
.q-mulu,
.q-knowledge,
.q-label {
    padding: 10px;
    border: dashed 1px #aaa;
    border-radius: 4px;
    margin-top: 15px;
}

.q-ana h3,
.q-answer h3,
.q-mulu h3,
.q-knowledge h3,
.q-label h3 {
    font-size: 13px;
    margin-bottom: 0;
    display: inline-block;
    line-height: 30px;
    float: left;
    width: 70px;
}

.q-answer-cnt {
    line-height: 30px;
    float: left;
    width: calc(100% - 108px);
    min-height: 30px;
}

.q-ana-cnt,
.q-mulu-cnt,
.q-knowledge-cnt,
.q-label-cnt,
.q-answer-cnt-edit {
    float: left;
    width: calc(100% - 108px);
    min-height: 30px;
    padding: 0 10px;
    line-height: 30px;
    margin-right: 10px;
    margin-bottom: 0;
}

.q-mulu-cnt .layui-breadcrumb {
    height: 30px;
    line-height: 30px;
}

.q-zimu {
    float: left;
    margin-right: 5px;
    width: 14px;
}

.question .layui-form-radio {
    margin: 0;
}

.question .layui-form-checkbox i {
    height: 30px;
}

.q-ana .q-editable {
    margin-bottom: 0;
}

.q-mulu-cnt-item,
.q-knowledge-cnt-item,
.q-label-cnt-item {
    display: inline-block;
    background: #2F4056;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    color: #fff;
    margin-right: 15px;
}

.q-mulu-cnt-item {
    background: #00bcd4;
}

.q-label-cnt-item {
    background: #1E9FFF;
}

.q-mulu-cnt-item span,
.q-knowledge-cnt-item span,
.q-label-cnt-item span {
    line-height: 30px;
    float: left;
}

.q-mulu-item-del,
.q-knowledge-item-del,
.q-label-item-del {
    display: inline-block;
    color: #fff;
    margin-left: 10px;
    width: 18px;
    text-align: center;
    height: 30px;
    line-height: 30px;
}

.q-mulu-item-del:hover,
.q-knowledge-item-del:hover,
.q-label-item-del:hover {
    color: #e8e8e8;
}

.q-mulu-item-del:active i,.q-knowledge-item-del:active i, .q-label-item-del:active i {
    font-size: 14px;
}

.q-mulu-item-del:focus,
.q-knowledge-item-del:focus,
.q-label-item-del:focus {
    color: #fff;
}

.q-submit {
    margin-left: 15px;
}

.label-input {
    height: 30px;
    line-height: 30px;
    float: left;
    width: 120px;
}

.answer-input {
    height: 30px;
    line-height: 30px;
    float: left;
    width: 140px;
    margin-right: 15px;
}

.q-label-cnt {
    width: calc(100% - 200px);
}

.create_tiankong_input {
    display: none;
}

.q-type-tiankong .create_tiankong_input, .q-type-biaoge .create_tiankong_input {
    display: inline-block;
}

.q-content-cnt-tigan table td {
    border: 1px solid #aaa;
}


/*子题的样式*/

.q-children {
    margin-top: 15px;
    border: 3px dashed #999;
    border-radius: 4px;
    background: #f8f8f8;
    padding: 15px;
}

.q-child-add-btn {
    line-height: 60px;
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 20px;
}

.q-children-btn {
    width: 544px;
    height: 222px;
    position: fixed;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 40%;
    padding: 15px 15px 0 15px;
    position: fixed;
    z-index: 10;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    background-color: #FFFFFF;
    border-radius: 4px;
    max-height: 90%;
    max-width: 90%;
}

.q-listorder-cnt {
    display: none;
}

.q-listorder {
    width: 50px;
    height: 24px;
    line-height: 24px;
    display: inline-block;
    margin-right: 10px;
}

.question-child .q-listorder-cnt {
    display: inline-block;
}

.question.q-type-zuhe .q-answer {
    display: none;
}